package com.jintoufs.service.hotel;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.hotel.HotelOrder;
import com.jintoufs.domain.hotel.HotelOrderDetail;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface HotelOrderService {

    int save(HotelOrder hotelOrder);

    int saveDetail(HotelOrderDetail hotelOrderDetail,String id);

    HotelOrder updateOrder(HotelOrder hotelOrder);

    int payConfirm(String orderId);

    List<Map<String,Object>> queryByParams(Map<String, Object> params);

    List<Map<String,Object>> queryByFilters(QueryFilters filters);

//    String refund(String orderId) throws Exception;

    String refundConfirm(String orderId);

    HotelOrder getById(String id);

    List<Map<String,Object>> selectByParam(Map<String,Object>  param);


    Map<String,List<String>> getIndexData(Integer num,String customerId);

    Map<String,Object> getOrderPriceAndCostByOrderId(String orderId);

    List<Map<String, Object>> getAllTypeOrderCustomerInfoDetail(Map params);

    void sendOrderSms(String mobile, int smsId, ArrayList<String> params);

    List<HotelOrder> getNoConfirm(Map<String,Object> param);
    int updateOrderNew(Map param);
}
